package com.sgzn.sgpay.service.tcp.impl;

import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.service.tcp.api.TcpQueryTerminalRecordBabyService;
import com.sgzn.sgpay.service.tcp.model.terminal.request.TcpQueryTerminalRecordBabyRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 查询终端账目(娃娃机)服务实现类
 * @author huangsenguang
 * @version Id: TcpQueryTerminalRecordServiceImpl.java, v 0.1 2018/7/19 18:19 huangsenguang Exp $$
 */
@Service
@Slf4j
public class TcpQueryTerminalRecordBabyServiceImpl extends TcpBaseTemplate implements TcpQueryTerminalRecordBabyService {
    @Override
    public SgsResultResponse<String> invoke(TcpQueryTerminalRecordBabyRequest request) {
        return super.execute(request.getDeviceId(), request.toString());
    }
}

